from apiflask import APIBlueprint
from flask.views import MethodView

index_bp = APIBlueprint('index', __name__)


@index_bp.route('/')
class Index(MethodView):
    def get(self):
        return {'message': '你好'}
